package com.saunter.extendModel;

import com.saunter.model.Department;
import com.saunter.model.Job;

import java.util.List;

public class DepartmentExtend extends Department {
    private List<Job> jobs;
    DepartmentExtend(Integer id, String name, Integer status) {
        super(id, name, status);
    }

    public void setJobs(List<Job> jobs) {
        this.jobs = jobs;
    }

    public List<Job> getJobs() {
        return this.jobs;
    }
}
